<?php

/**
 * licensee actions.
 *
 * @package    cpfaizenay
 * @subpackage player
 * @author     Manu
 * @version    1.0
 */
class licenseeActions extends sfActions
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeIndex(sfWebRequest $request) {
      $this->pager = new sfDoctrinePager(
        'Licensee',
        sfConfig::get('app_licensees_max_licensees')
      );
      $this->pager->setPage($request->getParameter('page', 1));
      $this->pager->init();
      $this->licensees_list = $this->pager;

      isicsBreadcrumbs::getInstance()->addItem('Licenciés de CPF Aizenay', '#');

      $response = $this->getResponse();
      Utils::setSlogTitle("licenciés de CPF Aizenay", $response);
  }
}